﻿using System;
using System.Text;
using System.Collections.Generic;
using System.Data;
using BCCommon.TradingEnums;
using BCCommon.Extensions;

namespace BCDto.Trading.Purchase.GoodsPurchaseCertificate
{
    /// <summary>
    /// 商品采购单记账凭证
    /// </summary>
    public class GoodsPurchaseCertificateDto
    {
        /// <summary>
        /// 商品采购单记账凭证Id
        /// </summary>		
        public long GoodsPurchaseCertificateId { get; set; }
        /// <summary>
        /// 商品采购单Id
        /// </summary>		
        public long GoodsPurchaseId { get; set; }
        /// <summary>
        /// 商品采购单编号
        /// </summary>		
        public string GoodsPurchaseNo { get; set; }
        /// <summary>
        /// 记账凭证编号
        /// </summary>		
        public string CertificateNo { get; set; }
        /// <summary>
        /// 支付类型
        /// </summary>		
        public PurchasePaidType PaidType { get; set; }
        /// <summary>
        /// 支付类型
        /// </summary>		
        public string PaidTypeStr { get { return this.PaidType.GetDisplayString(); } }
        /// <summary>
        /// 创建时间
        /// </summary>		
        public DateTime CreateTime { get; set; }
        /// <summary>
        /// 创建人Id
        /// </summary>		
        public long CreateAdminId { get; set; }
        /// <summary>
        /// 创建人
        /// </summary>		
        public string CreateAdminName { get; set; }

    }
}

